import Vue from 'vue'
import App from './App.vue'
import router from './router/customer'
import store from './store/customer'
import Http, {$http} from './plugins/http';
import Cache from './plugins/cache';
import ViewUI from 'view-design';
import './assets/app.css';
import format from 'vue-text-format';


Vue.use(format);
Vue.use(Http);
Vue.use(Cache);
Vue.use(ViewUI);

$http.defaults.baseURL = '/customer/' + (CUSTOMER) + '/';

Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');
